package com.im.service.user.model.param;

import com.im.common.model.RequestBase;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

@Data
@ApiModel
public class ModifyUserInfoParam extends RequestBase {

    @ApiModelProperty("用户id")
    @NotEmpty(message = "用户id不能为空")
    private String userId;

    @ApiModelProperty("用户名称")
    private String nickName;

    @ApiModelProperty("位置")
    private String location;

    @ApiModelProperty("生日")
    private String birthDay;

    @ApiModelProperty("密码")
    private String password;

    @ApiModelProperty("头像")
    private String photo;

    @ApiModelProperty("性别")
    private String userSex;

    @ApiModelProperty("个性签名")
    private String selfSignature;

    @ApiModelProperty("加好友验证类型（Friend_AllowType） 1需要验证")
    private Integer friendAllowType;

    @ApiModelProperty("附加信息")
    private String extra;
}
